package link.anyauto.fsmgr.biz.clientpofolio;

import android.databinding.DataBindingUtil;

import link.anyauto.fsmgr.R;
import link.anyauto.fsmgr.base.ActBase;
import link.anyauto.fsmgr.databinding.ActClientPortfolioBinding;

/**
 * Created by discotek on 16-7-19.
 */

public class ActClientPortfolio extends ActBase {

    @Override
    protected void initBinding() {
        binding = DataBindingUtil.setContentView(this, R.layout.act_client_portfolio);
    }

    @Override
    protected void initHandlers() {
        handlers = new ClientPortfolioHandlers();
    }

    @Override
    protected void initVM() {
        vm = new ClientPortfolioVM();
    }

    @Override
    protected void postInit() {
        handlers.vm = vm;
        binding.setVm(vm);
        binding.setHandlers(handlers);
    }

    @Override
    protected void unbind() {
        binding.unbind();
    }

    ActClientPortfolioBinding binding;
    ClientPortfolioHandlers handlers;
    ClientPortfolioVM vm;
}
